package com.whnk.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class ProjectEmpInfoUpdateVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 逻辑主键 */
    @ApiModelProperty(value = "逻辑主键",example = "1",required = false)
    private Long proEmpId;

    /** 项目编号 */
    @NotBlank(message = "项目编号不能为空")
    @ApiModelProperty(value = "项目编号",required = true)
    private String proNum;

    /** 项目名称 */
    @NotBlank(message = "项目名称不能为空")
    @ApiModelProperty(value = "项目名称",required = true)
    private String proName;

    /** 身份证号 */
    @NotBlank(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号",required = true)
    private String empId;

    /** 姓名 */
    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名",required = true)
    private String empNm;

    /** 评级日期 */
    @NotNull(message = "评级日期不能为空")
    @ApiModelProperty(value = "评级日期",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rankTime;

    /** 行方评级编号 */
    @NotBlank(message = "行方评级编号不能为空")
    @ApiModelProperty(value = "行方评级编号",required = true)
    private String bankLevelNum;

    public Long getProEmpId() {
        return proEmpId;
    }

    public void setProEmpId(Long proEmpId) {
        this.proEmpId = proEmpId;
    }

    public String getProNum() {
        return proNum;
    }

    public void setProNum(String proNum) {
        this.proNum = proNum;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public String getEmpNm() {
        return empNm;
    }

    public void setEmpNm(String empNm) {
        this.empNm = empNm;
    }

    public Date getRankTime() {
        return rankTime;
    }

    public void setRankTime(Date rankTime) {
        this.rankTime = rankTime;
    }

    public String getBankLevelNum() {
        return bankLevelNum;
    }

    public void setBankLevelNum(String bankLevelNum) {
        this.bankLevelNum = bankLevelNum;
    }

    @Override
    public String toString() {
        return "ProjectEmpInfoUpdateVo{" +
                "proEmpId=" + proEmpId +
                ", proNum='" + proNum + '\'' +
                ", proName='" + proName + '\'' +
                ", empId='" + empId + '\'' +
                ", empNm='" + empNm + '\'' +
                ", rankTime=" + rankTime +
                ", bankLevelNum='" + bankLevelNum + '\'' +
                '}';
    }

}
